home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software of the Month Club 2000 October
/
Software of the Month - Ultimate Collection Shareware 277.iso
/
pc
/
PROGRAMS
/
UTILITY
/
WINLINUX
/
DATA1.CAB
/
programs_-_usrdoc
/
PCMCIA-C.{1O
/
MAKEFILE.{_4
< prev
next >
Wrap
Text File
|
1999-09-17
|
1KB
|
43 lines
#
# Makefile 1.32 1998/09/15 00:10:24 (David Hinds)
#
DIRS = modules clients cardmgr flash debug-tools man etc
help:
@echo "Pick one of the following targets:"
@echo -e "\tmake clean\t\t- remove old binaries and dependency files"
@echo -e "\tmake config\t\t- configure and check system setup"
@echo -e "\tmake all\t\t- build modules and programs"
@echo -e "\tmake install\t\t- install modules and programs"
config .prereq.ok:
@./Configure
all: .prereq.ok kcheck
set -e ; for d in $(DIRS) ; do $(MAKE) -C $$d ; done
for f in *.mk ; do if [ $$f != config.mk ] ; then \
$(MAKE) -f $$f all ; \
fi ; done
clean:
set -e ; for d in $(DIRS) ; do $(MAKE) -C $$d clean ; done
rm -f .prereq.ok config.mk include/pcmcia/config.h
rm -f include/linux/modversions.h
install: .prereq.ok kcheck
set -e ; for d in $(DIRS) ; do $(MAKE) -C $$d install ; done
for f in *.mk ; do if [ $$f != config.mk ] ; then \
$(MAKE) -f $$f install ; \
fi ; done
kcheck:
@. config.out ; \
if [ "$$CHECK" != "" ] ; then \
if [ "`cksum < $$CHECK`" != "$$CKSUM" ] ; then \
/bin/echo -n "Kernel configuration has changed." ; \
/bin/echo " Please re-run 'make config'." ; \
exit 1 ; \
fi ; \
fi